package com.swordget.entity.vo;

import lombok.Data;
import lombok.ToString;

/**
 * @Author: David
 * @Date: Created in 20:49 2020/3/26
 * @Description: 简单的请求vo解析类
 * @Modified By:
 * @Version: 0.0.1
 */

@Data
@ToString
public class SimpleRequestVo<T> {

    /**
     * 记录的真实数据
     */
    private T data;

    /**
     * 执行操作的用户
     */
    private String loginId;

    /**
     * 机构id
     */
    private String orgId;

    public SimpleRequestVo() {
    }

    public SimpleRequestVo(T data, String loginId) {
        this.data = data;
        this.loginId = loginId;
    }

    public SimpleRequestVo(T data, String loginId, String orgId) {
        this.data = data;
        this.loginId = loginId;
        this.orgId = orgId;
    }


}
